html, body
         {
            width: 100%;
            height: 100%;
            margin: 0;
            padding: 0;
            font-family: Arial, sans-serif;
            flex-direction: column;
            display: flex;
            
            min-width: 1000px; /* 设置最小宽度 */
        }
        .main-content{
            flex:1;
            width:100%;
            box-sizing: border-box;
            margin-bottom: 500px;
        }
        .navbar{
            display: flex;
            align-items: center;
            background-color: white;
            height: 60px;
            width: 100%;
            box-sizing: border-box;
            justify-content: space-between;
            padding: 0 20px;
            gap: 20px;
    
        }
        .navbar-img{
            width: auto;
            height: 60%; /* 保持图片比例 */
            /* 控制图片位置的样式 */
            vertical-align: middle; /* 垂直居中对齐（相对于文本基线） */
            margin-left: 10%;

            min-width: 100px; 

        }
        .navbar-links{
            display: flex;
            align-items: center; /* 确保链接和按钮垂直居中 */
            gap: 20px; /* 在链接和按钮之间添加间距 */
           
            margin: 0;
            padding: 0 20px;
        }
        .navbar-links a{
            display:inline-block;
            color: black;
            text-align: center;
            padding: 10px 20px;
            text-align: center;
            text-decoration: none;
            
            align-items: center; /* 垂直居中对齐链接内的文本 */
         }
         .navbar-links a:hover{
            color: blue;
         }
         .navbar-auth {
            display: flex;
            gap: 10px;
         }
 
.navbar-button {
    background-color: #dfdede;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px; /* 控制图标和文字之间的间距 */
}
.navbar-button img {
    width: 16px; /* 调整图标大小 */
    height: 16px;
    /* 如果需要可以添加 */
    margin-right: 5px; /* 额外的间距控制 */
}
 
.navbar-button:hover {
    background-color: #ccc;
}
 
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px;
}
 
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
}
 
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
 
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* 添加搜索功能的样式 */
.bg-14 {
    position: relative;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

.bg-14 img {
    width: 100%;
    height: 400px; /* 调整高度 */
    object-fit: cover;
    position: relative;

}

.bg-14-img-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center; /* 添加此行 */
    width: 100%; /* 添加此行 */
    gap: 75px;

}

.bg-14-img-text-title {
    color: aliceblue;
    font-size: 22px;
    font-weight: normal;
    text-align: center;
    width: 100%; /* 添加此行 */
}

.bg-14-img-text-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.part-1, .part-2 {
    position: relative;
}

.icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;  /* 增大图标尺寸 */
    color: #999;      /* 更柔和的颜色 */
    left: 10px;       /* 统一的左侧间距 */
}
.fa-chevron-down {
    right: 10px;      /* 下拉箭头靠右对齐 */
    left: auto;       /* 覆盖默认的左对齐 */
    color: #666;      /* 稍深的颜色使其更明显 */
    font-size: 14px;  /* 略小的尺寸 */
}

.search-icon, .location-icon {
    left: 8px;
}

.bg-14-img-text-search input[type="text"] {
    padding: 12px 30px;  /* 增加内边距，给图标和文字更多空间 */
    border: none;
    border-radius: 4px;
    width: 200px;
    font-size: 14px;    /* 确保文字大小合适 */
}

.bg-14-img-text-search button[type="submit"] {
    background-color: #4390af;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 20px;
    cursor: pointer;
    white-space: nowrap;
    width: 75px;
}

.bg-14-img-text-search button[type="submit"]:hover {
    background-color: #357a96;
}

.container1 {
    padding: 40px 0 0 0;
    
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;  /* 确保padding不会导致宽度溢出 */
}

#title1 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    text-align: center;
}

#title2 {
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.box {
    display: flex;
    justify-content: center; /* 添加此行以确保水平居中 */
    gap: 20px; /* 保持块之间的间距 */
    width: 80%;
    margin: 20px auto 0;
    box-sizing: border-box;
    
}

.box1 {
    flex: 1;
    background-color: #f8f9fc;
    padding:20px;
    border-radius: 8px;
    min-width: 0;
}

.no-bullet {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.flex-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.flex-item span:first-child {
    color: #333;
}

.right {
    color: #2171e5;
}

hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 0;
}

.box2 {
    display: flex;
    align-items: center;
    background-color: #f8f9fc;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    margin: 20px auto 0; /* 修改这行：使用 auto 实现水平居中 */
    box-sizing: border-box;
}

.zuoyi {
    flex: 1;
    margin-left: 20px;
    font-size: 16px;
}

.box2 button {
    background-color: #2171e5;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.footer {
    background-color: #2c343f;
    color: #ffffff;
    padding: 50px 0 20px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
   
    position: relative; /* 添加定位 */
    
}

.footer-container {
    max-width: 1200px; /* 添加最大宽度 */
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap:20px;
    box-sizing: border-box; /* 添加此行 */

}

.footer-section {
    flex: 1;
    margin:0;
   
    box-sizing: border-box; /* 添加此行 */
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}
.footer-section p {
    color: #aaa;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #f3f7fa;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #8e7f7f;
}
.pseudo-underline {
    position: relative;
    color: rgb(241, 239, 239); /* 或你想要的文本颜色 */
}
.footer-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.newsletter {
    display: flex;
    margin-top: 20px;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    background-color: #3d444d;
    border: none;
    color: #ffffff;
}
.newsletter input::placeholder {
    color: #ffffff;
    opacity: 0.7; /* 可选：让placeholder稍微透明一些 */
}

/* 为了兼容不同浏览器，添加以下代码 */
.newsletter input::-webkit-input-placeholder { /* Chrome/Safari/Opera */
    color: #ffffff;
}
.newsletter input::-moz-placeholder { /* Firefox */
    color: #ffffff;
}
.newsletter input:-ms-input-placeholder { /* IE/Edge */
    color: #ffffff;
}

.newsletter button {
    padding: 10px 20px;
    background-color: #6b7375;
    border: none;
    color: #ffffff;
    cursor: pointer;
}
.arrow-icon {
    width: 25px;
    height: auto;
}

.footer-bottom {
    width: 100%;
    margin: 40px auto 0;
    padding: 20px 0;
    border-top: 1px solid #3d444d;
    background-color:#242e3b;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}
.footer-bottom p{
    margin-left: 8%;
}
.social-links{
    margin-right: 15%;
}

.social-links a {
    color: #8c9399;
    margin-left: 15px;
    text-decoration: none;
    
}

.social-links a:hover {
    color: #ffffff;
}

    
    .footer-container {
        padding: 0 20px;
    }


    .icon2 {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #4c5baf;
        margin-right: 5px; /* 在图标和文本之间添加一些间距 */
    }
   
    .container {
        display: flex;
    justify-content: center; /* 居中对齐卡片 */
    flex-wrap: nowrap; /* 禁止卡片换行 */
    margin: 0 auto;
    overflow: hidden; /* 去除滚动条 */
    max-width: 100%; /* 容器最大宽度 */
    box-sizing: border-box; /* 包含内边距和边框在内计算元素宽度 */
    margin-top: 20px; /* 可选：为容器添加顶部外边距，使标题和卡片之间有空隙 */
    padding: 0 10%;

    }
    .title {
        text-align: center; /* 居中对齐标题 */
        margin-top: 20px; /* 为标题和容器之间添加空隙 */
        font-size: 24px; /* 设置标题字体大小 */
        font-weight: bold; /* 设置标题字体加粗 */
    }
    .card {
        flex: 1; /* 使每个卡片在容器中占据相同的空间 */
        background-color: #fff; /* 设置卡片背景颜色 */
        
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
        margin: 10px; /* 在卡片之间添加间距 */
        transition: transform 0.2s; /* 添加过渡效果 */
    }

    .card:hover {
    transform: scale(1.01); /* 鼠标悬停时放大卡片 */
    }
      
    .card img {
        width: 100%; /* 设置图片宽度为100%以适应卡片 */
        height: 250px; /* 设置固定高度以保持一致性 */

        object-fit: cover; /* 图片保持比例填充整个空间 */
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .card-content {
        padding: 15px;
    }
    .my-custom-line {
        border: 1px solid rgb(229, 226, 226); /* 设置边框样式和颜色 */
    }

     .my-custom-grey {
         color: rgb(203, 199, 199); /* 确保文本颜色为灰色 */
         font-size: 14px; /* 设置字体大小 */
         line-height: 1.6; /* 设置行高 */
         margin-bottom: 10px; /* 添加底部外边距 */
    }
    
    /* 响应式设计调整 */
   
   
    @media screen and (max-width: 1000px) {
    html, body {
        min-width: 1000px; /* 保持最小宽度 */
    }
}
#toTopBtn {
    position:fixed;
    bottom:6%;
    right:4%;
    padding:10px 16px;
    background-color:#087aec;
    color: white;
    font-size: 18px;
    border:none;
    cursor:pointer; 
   }